function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
↳ QTRS
↳ DependencyPairsProof
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
FUNCTION4(plus, dummy, x, y) -> FUNCTION4(if, function4(iszero, x, x, x), x, y)
FUNCTION4(if, false, x, y) -> FUNCTION4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
FUNCTION4(plus, dummy, x, y) -> FUNCTION4(iszero, x, x, x)
FUNCTION4(if, false, x, y) -> FUNCTION4(p, x, x, y)
FUNCTION4(p, s1(s1(x)), dummy, dummy2) -> FUNCTION4(p, s1(x), x, x)
FUNCTION4(if, false, x, y) -> FUNCTION4(third, x, y, y)
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
FUNCTION4(plus, dummy, x, y) -> FUNCTION4(if, function4(iszero, x, x, x), x, y)
FUNCTION4(if, false, x, y) -> FUNCTION4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
FUNCTION4(plus, dummy, x, y) -> FUNCTION4(iszero, x, x, x)
FUNCTION4(if, false, x, y) -> FUNCTION4(p, x, x, y)
FUNCTION4(p, s1(s1(x)), dummy, dummy2) -> FUNCTION4(p, s1(x), x, x)
FUNCTION4(if, false, x, y) -> FUNCTION4(third, x, y, y)
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
FUNCTION4(p, s1(s1(x)), dummy, dummy2) -> FUNCTION4(p, s1(x), x, x)
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FUNCTION4(p, s1(s1(x)), dummy, dummy2) -> FUNCTION4(p, s1(x), x, x)
POL(FUNCTION4(x1, x2, x3, x4)) = 2·x2
POL(p) = 0
POL(s1(x1)) = 1 + 2·x1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
FUNCTION4(plus, dummy, x, y) -> FUNCTION4(if, function4(iszero, x, x, x), x, y)
FUNCTION4(if, false, x, y) -> FUNCTION4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(iszero, 0, dummy, dummy2) -> true
function4(iszero, s1(x), dummy, dummy2) -> false
function4(p, 0, dummy, dummy2) -> 0
function4(p, s1(0), dummy, dummy2) -> 0
function4(p, s1(s1(x)), dummy, dummy2) -> s1(function4(p, s1(x), x, x))
function4(plus, dummy, x, y) -> function4(if, function4(iszero, x, x, x), x, y)
function4(if, true, x, y) -> y
function4(if, false, x, y) -> function4(plus, function4(third, x, y, y), function4(p, x, x, y), s1(y))
function4(third, x, y, z) -> z